/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package linkedlist;

/**
 *
 * @author Islam Hamdi
 */
public class PolTerm {
    private double coeff;
    private int exponent;

    public PolTerm (){
        coeff=0;
        exponent=0;
    }
    public PolTerm(double c,int e){
        coeff=c;
        exponent=e;
    }
    public void setExp(int ex){
        exponent=ex;
    }
    public int getExp(){
        return exponent;
    }
    public void setCoeff(double coefficient){
        coeff=coefficient;
    }
    public double getCoeff(){
        return coeff;
    }
    
}
